package com.yh.correct.service;


import java.util.List;
import java.util.Map;

import com.yh.correct.model.Grade;
import com.yh.correct.model.Page;
/**
 * 
 * 监管等级service
 * 
 * @author Administrator
 *
 */

public interface IGradeService {
	/**
	 * 
	 * 增加监管等级
	 */
	public int addGrade(Grade grade) throws Exception;
	/**
	 * 
	 * 删除监管等级
	 */
	public int delGrade(int id) throws Exception;
	/**
	 * 
	 * 修改监管等级
	 */
	public int editGrade(Grade grade) throws Exception;
	/**
	 * 
	 *根据Id查询监管等级 
	 */
	public Map<String,Object> getIdGrade(int id) throws Exception;
	/**
	 * 查询所有期满登记
	 * 
	 * @param 
	 * @return
	 */
	List<Map<String,Object>> getAllGrade() throws Exception;
	/**
	 * 
	 * 模糊查询全部人员监管等级
	 */
	public Page getLikeGrades(Map<String,Object> grade) throws Exception;
	
	
}
